﻿@{
    ViewBag.Title = "Update";
    Layout = "~/Views/Shared/User.cshtml";
}


<style>
    .correct
    {
        color:Blue;
    }
    .error
    {
        color:Red;
    }
</style>


<h2>编辑医院</h2>

医院编号<input type="text" disabled="disabled" value="H001" />
医院名称<input type="text" /><span class="error">必须填写</span><br />
地址<input type="text" value="中国" /><span class="error">长度过短</span><br />
网站<input type="text" value="123" /><span class="error">格式错误</span><br />
电话<input type="text" value="6425xxxx" /><span class="correct">填写正确</span><br />
邮件<input type="text" value="abc@123.com" /><span class="correct">填写正确</span><br />
图片地址<input type="file" /><span class="error">必须上传图片</span><br />
简介<textarea></textarea><span class="error">必须填写</span><br />

<input id="btnSubmit" type="button" value="提交" />
<input type="reset" value="重置"/>

<script type="text/javascript">
    $("#btnSubmit").click(function () {
        window.location="@Url.Action("List","Hospital")";
    });
</script>